package alipay.openplatform.edu.campus.jiuye.service.iservice.message;

import com.dahantc.api.sms.json.SmsData;

import java.util.List;

/**
 * Created by suzunshou on 16/9/26.
 */
public interface IMessageService {
    void sendMessageToUser() throws Exception;

    /**
     * 发送短信
     *
     * @param smsDataList
     * @return
     */
    String sendSms(List<SmsData> smsDataList) throws Exception;

    /**
     * 单发短信
     *
     * @param mobile
     * @return
     */
    boolean sendSms(String mobile, String content);

    void updateSms( String topicId);
}
